package com.lucy.nepu.module.tmaterial.lib;

import com.lucy.common.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Getter
@Setter
@ToString
@RequiredArgsConstructor
@Entity
@Table(name = "nepu_tmaterial_dict")
@ApiModel(value = "教材词典")
public class TMaterialDict extends BaseEntity implements Serializable {
    /**
     * 词典编码
     */
    @ApiModelProperty("词典编码")
    @Column(name = "code")
    String code;

    /**
     * 著作类型
     */
    @ApiModelProperty(value = "教材类型",notes = "如国家级规划教材（教育部认定）等.")
    @Column(name = "tmaterial_type")
    String tmaterialType;

    /**
     * 著作等级
     */
    @ApiModelProperty(value = "教材等级",notes = "A,B,C")
    @Column(name = "tmaterial_level")
    String tmaterialLevel;


    /**
     * 工作量
     */
    @ApiModelProperty(value = "工作量计算系数",notes = "")
    @Column(name = "workload_standard")
    Integer workloadStandard;

    @ApiModelProperty(value = "教材词典备注")
    @Column(name = "remark")
    String remark;
}
